-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(tests): added makefiles for testing workflow tests locally #11509
base: master
Are you sure you want to change the base?
Conversation
Hi @chahatsagarmain. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Thanks!
/ok-to-test |
@anishasthana you may like to review this. |
Could you document how to launch the tests in https://github.com/kubeflow/pipelines/blob/master/test/README.md ? |
@chahatsagarmain I added one more item to the issue's acceptance criteria.
|
hello @chahatsagarmain , following up with our chat on slack, would you please make sure that this command ( related commit in parallel pr: it should point to the thanks for your collaboration in advance. cc: @hbelmiro |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chahatsagarmain please don't forget the actions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the missing .github/workflows/presubmit-backend.yml
to on.pull_request.paths
.
@@ -53,4 +53,4 @@ jobs: | |||
run: pip install -r ./test/sdk-execution-tests/requirements.txt | |||
|
|||
- name: Run component YAML tests | |||
run: ./test/presubmit-component-yaml.sh | |||
run: make sdk-component-yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You missed the setup for this one.
.github/workflows/sdk-execution.yml
Outdated
export KFP_ENDPOINT="http://localhost:8888" | ||
export TIMEOUT_SECONDS=2700 | ||
pytest ./test/sdk-execution-tests/sdk_execution_tests.py --asyncio-task-timeout $TIMEOUT_SECONDS | ||
make sdk-execution |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You missed the setup for this one.
.github/workflows/sdk-yapf.yml
Outdated
@@ -33,4 +33,4 @@ jobs: | |||
run: pip install yapf | |||
|
|||
- name: Run YAPF SDK Tests | |||
run: ./test/presubmit-yapf-sdk.sh | |||
run: make sdk-yapf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You missed the setup for this one.
Makefile
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename them to have test-
in the beginning of their names so it will be easier for contributors to find them.
For example, backend-test-flip-coin
-> test-backend-flip-coin
.
/ok-to-test |
Approvals successfully granted for pending runs. |
@mahdikhashan as per #11512 (comment), you need to add the new target in your PR, otherwise it won't pass the CI and can't get merged. |
/ok-to-test |
Approvals successfully granted for pending runs. |
/ok-to-test |
Approvals successfully granted for pending runs. |
/ok-to-test |
Approvals successfully granted for pending runs. |
@chahatsagarmain can you please revert it to draft while it's not ready for review? |
@hbelmiro I am trying to squash the commits , Even after resolving merge conflicts locally ( from latest fork ) its still showing merge conflicts on github which is leading to one more commit . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold |
558586d
to
509054c
Compare
New changes are detected. LGTM label has been removed. |
509054c
to
fd31f11
Compare
5493bf8
to
3510b3e
Compare
995a881
to
3884fac
Compare
Signed-off-by: chahatsagarmain <[email protected]>
3884fac
to
3bf57ca
Compare
Description of your changes:
Issue #11494
Added makefiles for tests and setup each test locally .
Checklist: